import java.awt.image.BufferedImage;
import com.golden.gamedev.object.Sprite;


public class Bubble extends Sprite 
{
    public Bubble ()
    {
        super();
    }
    public Bubble (BufferedImage arg0, double arg1, double arg2)
    {
        super(arg0, arg1, arg2);
    }
    public Bubble (BufferedImage arg0)
    {
        super(arg0);
    }
    public Bubble (BufferedImage arg0, boolean b)
    {
        super(arg0);
        fish_inside = b;
    }
    public Bubble (double arg0, double arg1)
    {
        super(arg0, arg1);
    }
    public Bubble (BufferedImage bi, boolean b, double d)
    {
        this(bi, b);
        t=d;
    }
    public Bubble (BufferedImage buf, boolean hasfish, String color)
    {
        this(buf, hasfish);
        myColor = color;
        
    }
    
    
    double t;
    double phase;
    boolean shot; //keep
    boolean fish_inside; //keep
    double attach_x; //keep - import activity
    double attach_y; //keep
    double trans; //keep
    private String myColor;
    
    
    @Override
    public boolean equals(Object obj){
        
        
        if (!obj.getClass().equals(this.getClass()))
            return false;
        return myColor.equals(((Bubble) obj).getColor());
    }
    private String getColor ()
    {
        return myColor;
    }
    
}
